package com.wht.service;

import com.wht.domain.Music_Singer;
import com.wht.mapper.MusicSingerMapper;
import com.wht.utils.MyBatisUtils;

/**
 * @author wanghaotian
 * time:2022/11/28,0028 17:24
 * description:
 */

public class AddMusicSingerServiceImpl implements AddMusicSingerService {
    @Override
    public void addMusicSinger(Music_Singer musicSinger) {
        MusicSingerMapper mapper = MyBatisUtils.getMapper(MusicSingerMapper.class);
        mapper.insertMusicSinger(musicSinger);
        MyBatisUtils.commit();
    }
}
